package com.powernode.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.powernode.domain.IndexImg;

import java.util.List;

public interface IndexImgService extends IService<IndexImg> {
    /*
     * 新增轮播图
     * @author RenBoQing
     * @date 2024/8/25 14:40
     * @param indexImage
     * @return boolean
     */
    boolean saveIndexImg(IndexImg indexImage);
    /*
     * 根据id查询轮播图信息
     * @author RenBoQing
     * @date 2024/8/25 14:56
     * @param imgId
     * @return com.powernode.domain.IndexImg
     */
    IndexImg getInfoById(Long imgId);
    /*
     *  修改轮播图
     * @author RenBoQing
     * @date 2024/8/25 17:56
     * @param indexImage
     * @return boolean
     */
    boolean modifyIndexImg(IndexImg indexImage);
    /*
     * 批量删除轮播图
     * @author RenBoQing
     * @date 2024/8/25 18:11
     * @param imgIds
     * @return boolean
     */
    boolean deleteIndexImageByIds(List<Long> imgIds);
}